package ObjectVC;

import java.util.ArrayList;
import java.util.Set;

public aspect RollbackAll {
	after(Object actualObj, Action action, ArrayList<Object> actionParams): 
		VCOperations.VCops(actualObj, action, actionParams) 
		&& if(action.equals(Action.RollbackAll)){
		Set<Object> db = DB.getAllObjs();
		for (Object obj1 : db) {
			actualObj = obj1;
		}
	}
}
